package io.renren.modules.canteens.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 小食堂采购明细表
 *
 * @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2019-11-22
 */
@Data
@ApiModel(value = "小食堂采购明细表")
public class SmallCanteenPurchasemxDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "小食堂采购明细表id")
	private Long smallCanteenPurchasemxId;

	@ApiModelProperty(value = "食堂id")
	private Long canteenId;

	@ApiModelProperty(value = "采购表id")
	private Long smallCanteenPurchaseId;

	@ApiModelProperty(value = "供应商id")
	private Long supplierId;

	@ApiModelProperty(value = "食材表id")
	private Long foodId;

	@ApiModelProperty(value = "采购数量")
	private Float purchaseNum;

	@ApiModelProperty(value = "到货数量")
	private Float arrivalNum;

	@ApiModelProperty(value = "单价")
	private Float unitPrice;

	@ApiModelProperty(value = "实物照片")
	private String entityPhoto;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "主厨备注")
	private String chedRemark;

	@ApiModelProperty(value = "供应商备注")
	private String supplierRemark;

	@ApiModelProperty(value = "仓储员备注")
	private String storehouseClerkRemark;

	@ApiModelProperty(value = "是否付款")
	private Integer isPayment;

	@ApiModelProperty(value = "财务记录表id")
	private Long financeId;
	@ApiModelProperty(value = "子订单状态")
	private Integer subStatus;
	@ApiModelProperty(value = "实送数量")
	private Long realityNum;
	@ApiModelProperty(value = "食材名称")
	private String  foodName;
	@ApiModelProperty(value = "单位")
	private String unit;
	@ApiModelProperty(value = "总金额")
	private float totalPrice;
	@ApiModelProperty(value = "总金额")
	private String totalPrice1;
	@ApiModelProperty(value = "食堂名称")
	private String canteenName;
	@ApiModelProperty(value = "供应商名称")
	private String supplierName;
	@ApiModelProperty(value = "用餐时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date mealTime;
}